<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    let goods = {
      name: '小米小米10青春版',
      num: 100012816024,
      weight: '0.55kg',
      address: '中国大陆'
    }
    // console.log(goods.name)
    // console.log(goods[num])
    // goods.name = '华为牛逼'
    // console.log(goods)
    // goods.color = 'pink'
    // console.log(goods)
    // delete goods.num
    // console.log(goods)
    goods.name = '小米10 PLUS'
    goods.color = 'pink'
    document.write(goods.name)
    document.write('<br>')
    document.write(goods.num)
    document.write('<br>')
    document.write(goods.weight)
    document.write('<br>')
    document.write(goods.address)
    document.write('<br>')
    document.write(goods.color)
    document.write('<br>')



  </script>
</body>

</html>